package com.desgin.enums;

/**
 * @author Zhao Fang
 * @version 1.0
 * @since 2021/8/13 14:04
 **/

public interface ModelEnum {

    enum respCode{

        OK("00000","success"),

        ERROR("10001","系统错误！");

        private String code;

        private String msg;

        respCode(String code, String msg) {
            this.code = code;
            this.msg = msg;
        }


        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getMsg() {
            return msg;
        }

        public void setMsg(String msg) {
            this.msg = msg;
        }
    }
}